<?php
/**
 * 省市区地址
 */
namespace app\admins\controller\sys;
use \app\admins\controller\Auth;
class Area extends Auth{
    
    
    /**
     * 根据父级获取子级
     */
    public function getlist(){
        $Area = new \logic\sys\Area();
        $param = array(
            'pcode' => input('pcode',0)
        );
        $list =  $Area->getList($param);
        return json( $list );
    }
}